#include <stdio.h>
void judge (int year)
{
    if (year%4 == 0 && year%100 != 0 || year%400 ==0)
    {
        printf ("是闰年\n");
    }
    else printf ("是平年\n");
    
}
int main (int argc, char const * argv[]) 
{
    int i;
    printf("请输入年份:");
    scanf("%d", &i);
    judge (i);
    return 0;
}